//
//  UIWindowEx.swift
//  Created by Python on 2024/6/19.
//

import UIKit

extension UIWindow {
    static var main: UIWindow {
        guard let optionalWindow = UIApplication.shared.delegate?.window,
              let window = optionalWindow else {
            return .init()
        }
        return window
    }
}
